package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.CbBasicBean;

/**
* 描述：获取可转债基本信息
* @author: codesmith
**/
@Data
@TableName("cb_basic")
public class CbBasicEntity implements CbBasicBean {
    
    /*
    * 转债代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`bond_full_name`") protected String bondFullName;

    @TableField("`bond_short_name`") protected String bondShortName;

    @TableField("`cb_code`") protected String cbCode;

    @TableField("`stk_code`") protected String stkCode;

    @TableField("`stk_short_name`") protected String stkShortName;

    @TableField("`maturity`") protected Double maturity;

    @TableField("`par`") protected Double par;

    @TableField("`issue_price`") protected Double issuePrice;

    @TableField("`issue_size`") protected Double issueSize;

    @TableField("`remain_size`") protected Double remainSize;

    @TableField("`value_date`") protected LocalDate valueDate;

    @TableField("`maturity_date`") protected LocalDate maturityDate;

    @TableField("`rate_type`") protected String rateType;

    @TableField("`coupon_rate`") protected Double couponRate;

    @TableField("`add_rate`") protected Double addRate;

    @TableField("`pay_per_year`") protected Integer payPerYear;

    @TableField("`list_date`") protected LocalDate listDate;

    @TableField("`delist_date`") protected LocalDate delistDate;

    @TableField("`exchange`") protected String exchange;

    @TableField("`conv_start_date`") protected LocalDate convStartDate;

    @TableField("`conv_end_date`") protected LocalDate convEndDate;

    @TableField("`first_conv_price`") protected Double firstConvPrice;

    @TableField("`conv_price`") protected Double convPrice;

    @TableField("`rate_clause`") protected String rateClause;

    @TableField("`put_clause`") protected String putClause;

    @TableField("`maturity_put_price`") protected String maturityPutPrice;

    @TableField("`call_clause`") protected String callClause;

    @TableField("`reset_clause`") protected String resetClause;

    @TableField("`conv_clause`") protected String convClause;

    @TableField("`guarantor`") protected String guarantor;

    @TableField("`guarantee_type`") protected String guaranteeType;

    @TableField("`issue_rating`") protected String issueRating;

    @TableField("`newest_rating`") protected String newestRating;

    @TableField("`rating_comp`") protected String ratingComp;
}